﻿#region Header
// ------------------------ Licence / Copyright ------------------------
// 
// ScrumTable for Scrum Meeting Support
// Copyright © HSR - Hochschule für Technik Rapperswil
// All Rights Reserved
// 
// Author:
//  Michael Gfeller Silvan Gehrig Patrick Boos
// 
// ---------------------------------------------------------------------
#endregion


#region Usings

using System;
using System.Windows;
using System.Windows.Media;

#endregion

namespace ScrumTable.UI.View.WinTouch.UserControls.Tool
{

    /// <summary>
    /// Interaction logic for AddButton.xaml
    /// </summary>
    public partial class ToolButton
    {
        #region Declarations
        //--------------------------------------------------------------------
        // Declarations
        //--------------------------------------------------------------------

    
        #endregion

        #region Properties
        //--------------------------------------------------------------------
        // Properties
        //--------------------------------------------------------------------

        #region ContentText
        /// <summary>
        /// DependencyProperty for ContentText.
        /// </summary>
        public static readonly DependencyProperty ContentTextProperty =
            DependencyProperty.Register("ContentText",
                                        typeof(string),
                                        typeof(ToolButton),
                                        new UIPropertyMetadata(string.Empty));
        /// <summary>
        /// Gets or sets the content text of the button
        /// </summary>
        /// <value>content text of the button.</value>
        public string ContentText
        {
            get { return (string)GetValue(ContentTextProperty); }
            set
            {
                SetValue(ContentTextProperty, value);
            }
        }
        
        #endregion


        #region ContentText
        /// <summary>
        /// DependencyProperty for ContentText.
        /// </summary>
        public static readonly DependencyProperty ContentBackgroundProperty =
            DependencyProperty.Register("ContentBackground",
                                        typeof(Brush),
                                        typeof(ToolButton),
                                        new UIPropertyMetadata(null));
        /// <summary>
        /// Gets or sets the content text of the button
        /// </summary>
        /// <value>content text of the button.</value>
        public Brush ContentBackground
        {
            get { return (Brush)GetValue(ContentBackgroundProperty); }
            set
            {
                SetValue(ContentBackgroundProperty, value);
            }
        }

        #endregion
     
        #endregion

        #region Constructors / Destructor
        //--------------------------------------------------------------------
        // Constructors / Destructor
        //--------------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="AddButton"/> class.
        /// </summary>
        public ToolButton()
        {
            InitializeComponent();
        }
        #endregion
    }
}
